<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>轮播图</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        li,ol{
            list-style: none;
        }
        .focus {
            margin: 0px auto;;
            position: relative;
            width: 721px;
            height: 455px;
            background-color: purple;
            overflow: hidden;
        }

        .focus ul {
            position: absolute;
            top: 0;
            left: 0;
            width: 600%;
        } 

        .focus ul li {
            float: left;
        } 

        .arrow-l,
        .arrow-r {
            display: none;
            position: absolute;
            top: 50%;
            margin-top: -20px;
            width: 24px;
            height: 40px;
            background: rgba(0, 0, 0, .3);
            text-align: center;
            line-height: 40px;
            color: #fff;
            font-family: 'icomoon';
            font-size: 18px;
            z-index: 2;
        }

        .arrow-r {
            right: 0;
        }

        .circle {
            position: absolute;
            bottom: 10px;
            left: 50px;
        }

        .circle li {
            float: left;
            width: 8px;
            height: 8px;
            /*background-color: #fff;*/
            border: 2px solid rgba(255, 255, 255, 0.5);
            margin: 0 3px;
            border-radius: 50%;
            /*鼠标经过显示小手*/
            cursor: pointer;
        }

        .current {
            background-color: #fff;
        }
    </style>
    <!--这个必须写在轮播图的上面，因为等下要用不然拿不到  -->
    <script src="./animate.js"></script>
    <script src="./轮播图.js"></script>
    
</head>

<body>
    <div class="focus fl">
        <!-- 左侧按钮 -->
        <a href="javascript:;" class="arrow-l">
            &lt;
        </a>
        <!-- 右侧按钮 -->
        <a href="javascript:;" class="arrow-r">  </a>
        <!-- 核心的滚动区域 -->
        <ul>
            <li>
                <a href="#"><img src="./images/focus.jpg" alt=""></a>
            </li>
            <li>
                <a href="#"><img src="./images/focus1.jpg" alt=""></a>
            </li>
            <li>
                <a href="#"><img src="./images/focus2.jpg" alt=""></a>
            </li>
            <li>
                <a href="#"><img src="./images/focus3.jpg" alt=""></a>
            </li>
            
        </ul>
        <!-- 小圆圈 -->
        <ol class="circle">
            
        </ol>
    </div>
</body>

</html>